package com.logicalthinking.socialmall.common.pojo;

/**
 * @author chenlijia
 * @version 1.0
 * @since 2019/11/29 0029 上午 9:45
 **/
public class Constants {

    //审批状态 0 初始状态 未审批
    public static final Integer REVIEW_STATUS_INIT = 0;

    //审批状态 通过
    public static final Integer REVIEW_STATUS_AGGRE = 1;

    //审批状态 拒绝
    public static final Integer REVIEW_STATUS_DENY = 2;


    //前端token key
    public static final String TOKEN = "authentication";

    //后台用户初始化密码
    public static final String ADMIN_INIT_PASSWORD = "123456";

    //密码加盐
    public static final String PASSWORD_SALT = "x2WxRMYfaNTiAr7Z";

    //jwt 加密密钥
    public static final String JWT_SIGN_KEY = "WN9FQt9FDARZAhF6";

    //后台用户登陆超时时间 60分钟
    public static final Integer ADMIN_LOGIN_LIMIT_TIME_SECONDS = 60 * 60;

    //客户端用户登陆超时时间 30分钟
    public static final Integer APP_LOGIN_LIMIT_TIME_SECONDS = 1 * 24 * 60 * 60;

    //默认服务费比例
    public static final String SERVICE_FEE_RATIO_SYSTEM_CONFIG_KEY = "service_fee_ratio";

    //默认服务费比例
    public static final Double DEFAULT_SERVICE_FEE_RATIO = 0.05;

    //微信公众号配置信息
    public static final String WX_APP_ID = "wx1eb341844faf9f84";

    //微信公众号配置信息
    public static final String WX_APP_SECRET = "28312f2e0a739c51e884303c37c010eb";

    //微信支付商户id
    public static final String WX_MCHID = "1562837811";

    //微信支付 签名加盐的key
    public static final String WX_PAY_SIGN_KEY = "XiztVMpHncFmjTTMYiAf49rDSEeKcOO8";


}
